package cn.yang.domain.activity.service.product;

import cn.yang.domain.activity.model.entity.SkuProductEntity;
import cn.yang.domain.activity.repository.IActivityRepository;
import cn.yang.domain.activity.service.IRaffleActivitySkuProductService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @version v1.0
 * @ClassName: cn.yang.domain.activity.service.product
 * @Description: TODO
 * @Author: YJ
 */
@Service
public class RaffleActivitySkuProductService implements IRaffleActivitySkuProductService {
    @Resource
    private IActivityRepository activityRepository;

    @Override
    public List<SkuProductEntity> querySkuProductEntityListByActivityId(Long activityId) {
        return activityRepository.querySkuProductEntityListByActivityId(activityId);
    }
}
